#!/bin/bash

# \note This script is pretty much deprecated, and will be removed a
# a later date.

# add a flag to use GENERIK_PATH as a source for Makefile.generik
# add a verbose flag, which outputs error and other info

for i in $( find -type d ); do
	if [ -e $i/Makefile.generik ]; then
		echo "distributing Makefile.generik to $i";
		cp Makefile.generik $i 2> /dev/null; # silent...
		# check for an error from cp? only if verbose
	#else
		# echo "ignoring $i"; # only if verbose
	fi
done

